package com.neusoft.yuejian12.yuejian_12.service;

import com.neusoft.yuejian12.yuejian_12.javabean.TrainBean;

import java.util.List;

import retrofit2.http.GET;
import retrofit2.http.Query;
import java.util.List;
import retrofit2.Call;

/**
 * Created by Administrator on 2017/9/25.
 */

public interface TrainService {
    //培训列表
    @GET("Train/getTrainlist")
    Call<List<TrainBean>> getTrainlist();

    @GET("Train/getTrainlista")
     Call<List<TrainBean>> getTrainlista();

    @GET("Train/getTrainlistb")
    Call<List<TrainBean>> getTrainlistb();

    @GET("Train/getTrainlistc")
    Call<List<TrainBean>> getTrainlistc();

    @GET("Train/getTrainlistd")
    Call<List<TrainBean>> getTrainlistd();

    //培训详情
    @GET("Train/getDetail")
    Call<TrainBean> getDetail(@Query("t_id") int t_id);

    //搜索培训
    @GET("Train/searchTrain")
    Call<List<TrainBean>> searchTrain(@Query("t_name") String t_name);
}
